﻿<ui:DialogWindow x:Class="SP2010DevExtensions.ItemTemplateWizard.WizardWindow"
                 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                 xmlns:ui="clr-namespace:Microsoft.VisualStudio.PlatformUI;assembly=Microsoft.VisualStudio.Shell.10.0"        
                 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                 Title="SharePoint Customization Wizard" Height="300" Width="700" ResizeMode="NoResize" 
                 Loaded="Window_Loaded" TextOptions.TextFormattingMode="Display">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="50" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="5" />
            <RowDefinition Height="56" />
        </Grid.RowDefinitions>
        <StackPanel Grid.Row="0" Name="headingGrid" Background="White">
            <Label Grid.Row="0" Content="Please Select WCF Settings" Name="pageHeaderLabel" HorizontalAlignment="Left" 
                   VerticalAlignment="Center"  FontWeight="ExtraBold" />
        </StackPanel>
        <Grid Grid.Row="1" Name="mainGrid">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="20*" />
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition Width="400*" />
                <ColumnDefinition Width="5" />
                <ColumnDefinition Width="400*" />
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="30" />
                <RowDefinition Height="30" />
                <RowDefinition Height="30" /> 
            </Grid.RowDefinitions>

            <Label Grid.Row="0" Grid.Column="1" Content="Service Type:" Name="groupIdLabel"  VerticalAlignment="Center" FontWeight="Bold" />
            <ComboBox Grid.Row="0" Grid.Column="2" HorizontalAlignment="Left" Height="23" Width="250" Name="cmbServiceType" DisplayMemberPath="Key" SelectedValuePath="Value" >
               
            </ComboBox>
            <Label Name="lblErrServiceType" Grid.Row="0" Grid.Column="4" Foreground="Red" Content="Please select service type." Visibility="Hidden"></Label>
            <Label Grid.Row="1" Grid.Column="1" VerticalAlignment="Center" Content="AspNetCompatibility Mode:" Name="titleLabel" 
                   FontWeight="Bold" Target="{Binding ElementName=titleTextBox}" />
            <ComboBox Name="cmbAspNetCompatibilityMode"  Height="23" Width="250" Grid.Row="1" Grid.Column="2" HorizontalAlignment="Left" VerticalAlignment="Center" DisplayMemberPath="Value" SelectedValuePath="Key">
            </ComboBox>
            <Label Name="lblErrAspNetCompatibilityMode" Grid.Row="1" Grid.Column="4" Foreground="Red" Content="Please select asp.net compatibility mode." Visibility="Hidden"></Label>
            <CheckBox Grid.Row="2" Grid.Column="2" Height="28" Name="chkEnableMexEndPoint" Content="Enable MEX Metadata Exchange Endpoint" VerticalAlignment="Center"></CheckBox>
        </Grid>
        <Rectangle Grid.Row="2" Name="separatorRectangle" Fill="White"/>
        <StackPanel Grid.Row="3" Name="navigationPanel" Orientation="Horizontal">
            <Button Content="_Finish" Margin="500,0,0,0" Height="25" Name="finishButton" Width="85" 
                    Click="finishButton_Click" IsDefault="True" />
            <Button Content="Cancel" Margin="10,0,0,0" Height="25" Name="cancelButton" Width="85" IsCancel="True" Click="cancelButton_Click" />
        </StackPanel>
    </Grid>
</ui:DialogWindow>
